﻿using System.Collections.Generic;
using MassPokerTool.Infrastructure.Hooking.Hooks;
using MassPokerTool.Infrastructure.Hooking.Target;

namespace MassPokerTool.Infrastructure.Hooking
{
    public class HookManager
    {
        public static void CreateHooks(IHooksProvider hooksProvider, IQueueableEntryPoint callback)
        {
            foreach (var hook in hooksProvider.GetHooks())
            {
                hook.CreateHook(callback);
            }
        }
    }
}
